package com.ht.sps.nh.entity;

import org.nutz.dao.entity.annotation.*;
import javax.validation.constraints.NotNull;

/**
 * 卡表实体类.
 * User: 范博
 * Date: 13-9-29
 * Time: 上午11:32
 * modifyBy: 刘强 13-12-13
 * To change this template use File | Settings | File Templates.
 */
@Table("T_TREE_MENU")
public class TreeMenu {

    @Id
    @NotNull
    @ColDefine(type = ColType.INT,width = 19)
    private Long id;

    @Column("menu_name")
    @ColDefine(type = ColType.VARCHAR,width = 50)
    private String menuName = "";//菜单名

    @Column("parent_id" ) @ColDefine(type = ColType.INT)
    private int parentId = 0;//上级菜单ID

    @Column("menu_level" ) @ColDefine(type = ColType.INT)
    private int menuLevel = 0;//菜单级别,1,2,3

    @Column("model_count" ) @ColDefine(type = ColType.INT)
    private Integer modelCount; //对应模板1、2、3、5,0表示无对应模板

    @Column("model_url1" )
    @ColDefine(type = ColType.VARCHAR,width = 200)
    private String modelUrl1 = "";//url1

    @Column("model_url2")
    @ColDefine(type = ColType.VARCHAR,width = 200)
    private String modelUrl2 = "";//url2

    @Column("model_url3")
    @ColDefine(type = ColType.VARCHAR,width = 200)
    private String modelUrl3 = "";//url3

    @Column("model_url4")
    @ColDefine(type = ColType.VARCHAR,width = 200)
    private String modelUrl4 = "";//url4

    @Column("model_url5")
    @ColDefine(type = ColType.VARCHAR,width = 200)
    private String modelUrl5 = "";//url5

    @Column("title1" )
    @ColDefine(type = ColType.VARCHAR,width = 20)
    private String title1 = "";//title1

    @Column("title2")
    @ColDefine(type = ColType.VARCHAR,width = 20)
    private String title2 = "";//title2

    @Column("title3")
    @ColDefine(type = ColType.VARCHAR,width = 20)
    private String title3 = "";//title3

    @Column("title4")
    @ColDefine(type = ColType.VARCHAR,width = 20)
    private String title4 = "";//title4

    @Column("title5")
    @ColDefine(type = ColType.VARCHAR,width = 20)
    private String title5 = "";//title5


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getMenuLevel() {
        return menuLevel;
    }

    public void setMenuLevel(int menuLevel) {
        this.menuLevel = menuLevel;
    }

    public Integer getModelCount() {
        return modelCount;
    }

    public void setModelCount(Integer modelCount) {
        this.modelCount = modelCount;
    }

    public String getModelUrl1() {
        return modelUrl1;
    }

    public void setModelUrl1(String modelUrl1) {
        this.modelUrl1 = modelUrl1;
    }

    public String getModelUrl2() {
        return modelUrl2;
    }

    public void setModelUrl2(String modelUrl2) {
        this.modelUrl2 = modelUrl2;
    }

    public String getModelUrl3() {
        return modelUrl3;
    }

    public void setModelUrl3(String modelUrl3) {
        this.modelUrl3 = modelUrl3;
    }

    public String getModelUrl4() {
        return modelUrl4;
    }

    public void setModelUrl4(String modelUrl4) {
        this.modelUrl4 = modelUrl4;
    }

    public String getModelUrl5() {
        return modelUrl5;
    }

    public void setModelUrl5(String modelUrl5) {
        this.modelUrl5 = modelUrl5;
    }

    public String getTitle1() {
        return title1;
    }

    public void setTitle1(String title1) {
        this.title1 = title1;
    }

    public String getTitle2() {
        return title2;
    }

    public void setTitle2(String title2) {
        this.title2 = title2;
    }

    public String getTitle3() {
        return title3;
    }

    public void setTitle3(String title3) {
        this.title3 = title3;
    }

    public String getTitle4() {
        return title4;
    }

    public void setTitle4(String title4) {
        this.title4 = title4;
    }

    public String getTitle5() {
        return title5;
    }

    public void setTitle5(String title5) {
        this.title5 = title5;
    }
}

